﻿using System.Collections.ObjectModel;

namespace NGeo.GeoNames
{
    public interface IConsumeGeoNames
    {
        ReadOnlyCollection<Toponym> FindNearbyPlaceName(NearbyPlaceNameFinder finder);

        Toponym Get(int geoNameId, string userName, ResultStyle resultStyle = ResultStyle.Full);

        ReadOnlyCollection<Toponym> Children(int geoNameId, string userName, ResultStyle resultStyle = ResultStyle.Full, int resultSize = 200);

        ReadOnlyCollection<Country> Countries(string userName, ResultStyle resultStyle = ResultStyle.Full);

        Hierarchy Hierarchy(int geoNameId, string userName, string language = "local", ResultStyle resultStyle = ResultStyle.Full);

    }
}